package me.sauce.folkpocket48.data.local.database.entity

import android.arch.persistence.room.ColumnInfo
import android.arch.persistence.room.Entity
import android.arch.persistence.room.PrimaryKey

/**
 * @author sauceWu .
 * @since 2017/12/21 12:08
 */
@Entity(tableName = "member")
data class Member(@ColumnInfo(name = "member_name") var memberName: String) {
    @PrimaryKey(autoGenerate = true)
    var id: Long = 0

    override fun toString(): String {
        return "id=$id  memberName=$memberName"
    }
}
